package com.lovely602.langchain4j.memory.service;


import dev.langchain4j.service.MemoryId;
import dev.langchain4j.service.SystemMessage;
import dev.langchain4j.service.UserMessage;

/**
 * 记忆聊天助手
 *
 * @author lizhixing
 */
public interface ChatMemoryAssistant {

    @SystemMessage("You are a helpful assistant.")
    String chatWithChatMemory(@MemoryId Object userId, @UserMessage String msg);

}
